package com.harmontronics.hanma.paas.paas.domain.app.repository.po;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import lombok.Data;

/**
 * ${comments}
 *
 * @author paas-generator
 * @email paas-generator@harmontronics.com
 * @date 2021-04-02 10:54:59
 */
@Data
@TableName("hm_process")
public class HmProcessPO implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 流程名称
     */
    private String name;
    /**
     * 流程KEY
     */
    @TableField("key_")
    private String key;
    /**
     * 版本号
     */
    @TableField("version_")
    private Integer version;
    /**
     * 流程描述
     */
    private String description;
    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createDate;
    /**
     * 更新人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String modifyBy;
    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifyDate;
    /**
     * 所属文件夹
     */
    private Long folderId;
    /**
     * 激活的
     */
    private Integer activated;

    /**
     * 部署ID
     */
    private String deploymentId;
    
    /**
     * 管理业务模型
     */
    private String modelCode;


    private Integer published;

    /**
     * 是否已被打包
     */
    private Integer packed;

}
